package com.mdhw.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mdhw.system.entity.SysMenu;
import com.mdhw.system.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysRoleMenuDao  extends BaseMapper<SysRoleMenu> {
    int insert(SysRoleMenu record);

    int insertSelective(SysRoleMenu record);

    List<Long> selectMenuIdListByRoleId(@Param("roleId") Long roleId);
}